Skip to contentSkip to conversation

Unable to install on latest Ubuntu (19.04)

Bug 110795 [email protected] 1 participant 46 messages May 29, 2019 – Nov 25, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Bug ID: 110795
Summary: Unable to install on latest Ubuntu (19.04)
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: blocker
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

The driver install is hard coded to reject anything other than 18.04, which is two versions behind current Ubuntu. Please update the driver.

```
Preparing to unpack .../amdgpu-core_19.10-785425_all.deb ...
ERROR: This package can only be installed on Ubuntu 18.04.
dpkg: error processing archive
/var/opt/amdgpu-pro-local/./amdgpu-core_19.10-785425_all.deb (--unpack):
 new amdgpu-core package pre-installation script subprocess returned error exit
status 1
Errors were encountered while processing:
 /var/opt/amdgpu-pro-local/./amdgpu-core_19.10-785425_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Rolf <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
           Priority|medium                      |high
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Severity|blocker                     |enhancement
           Priority|high                        |medium
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #1 from Rolf <[email protected]> ---
I spent over a thousand dollars for a card that doesn't support current Linux? And when I file a bug report it's reclassified as an "enhancement", and a medium priority one at that?! Worse still, the driver would probably work fine if the installer would just ignore the version code and try... I'm in shock.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #2 from Rolf <[email protected]> ---
Also, the install scrip fails without rolling back anything and leaving the system in a half-baked state. The supplied uninstall fails because amdgpu-core isn't installed yet. Since only 18.04 is supported, the install script should at least check for that before installing half a dozen packages for which "apt --fix-broken" cannot resolve their dependencies, due to the hard coded Ubuntu version. Catch-22.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #3 from Rolf <[email protected]> ---
If anyone else finds themselves in this fix by installing this driver, the only way to get apt-get working again is to forcefully remove all of the files using:

sudo dpkg --force-all -P [package name]

Here is the list of miss-installed packages:

The following packages have unmet dependencies:
amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed amdgpu-lib : Depends: amdgpu-core (= 19.10-785425) but it is not going to be
installed
glamor-amdgpu : Depends: amdgpu-core but it is not going to be installed gst-omx-amdgpu : Depends: amdgpu-core but it is not going to be installed libdrm-amdgpu-common : Depends: amdgpu-core but it is not going to be
installed
libdrm2-amdgpu:i386 : Depends: amdgpu-core:i386
libdrm2-amdgpu : Depends: amdgpu-core but it is not going to be installed libegl1-amdgpu-mesa:i386 : Depends: amdgpu-core:i386 libegl1-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed libgbm1-amdgpu:i386 : Depends: amdgpu-core:i386
libgbm1-amdgpu : Depends: amdgpu-core but it is not going to be installed libgl1-amdgpu-mesa-dri:i386 : Depends: amdgpu-core:i386
Recommends: libtxc-dxtn-s2tc0:i386 but it is not
installable or
libtxc-dxtn0:i386 but it is not
installable
libgl1-amdgpu-mesa-dri : Depends: amdgpu-core but it is not going to be
installed
Recommends: libtxc-dxtn-s2tc0 but it is not
installable or
libtxc-dxtn0 but it is not installable
libglapi-amdgpu-mesa:i386 : Depends: amdgpu-core:i386 libglapi-amdgpu-mesa : Depends: amdgpu-core but it is not going to be
installed
libllvm7.1-amdgpu:i386 : Depends: amdgpu-core:i386 libllvm7.1-amdgpu : Depends: amdgpu-core but it is not going to be installed libwayland-amdgpu-client0:i386 : Depends: amdgpu-core:i386 libwayland-amdgpu-client0 : Depends: amdgpu-core but it is not going to be
installed
libwayland-amdgpu-egl1:i386 : Depends: amdgpu-core:i386 libwayland-amdgpu-egl1 : Depends: amdgpu-core but it is not going to be
installed
libwayland-amdgpu-server0:i386 : Depends: amdgpu-core:i386 libwayland-amdgpu-server0 : Depends: amdgpu-core but it is not going to be
installed
mesa-amdgpu-va-drivers:i386 : Depends: amdgpu-core:i386 mesa-amdgpu-va-drivers : Depends: amdgpu-core but it is not going to be
installed
mesa-amdgpu-vdpau-drivers:i386 : Depends: amdgpu-core:i386 mesa-amdgpu-vdpau-drivers : Depends: amdgpu-core but it is not going to be
installed
xserver-xorg-amdgpu-video-amdgpu : Depends: amdgpu-core but it is not going to
be installed

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #5 from Rolf <[email protected]> ---
Yet it half-way installs on 19.04 without a check, and your download page does not include any warning of what it will do to your system if it's not 18.04. In fact, the sub heading lists 18.04.2, so is that the only version of 18.04 supported?

Quoted 1 line

From the specificity used, it's reasonable to assume that the listed version

was a minimum version, not an exclusive version.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|DRM/AMDgpu |DRM/AMDgpu-pro

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #6 from Andrew Shark <[email protected]> --- Created attachment 144471
--> https://bugs.freedesktop.org/attachment.cgi?id=144471&action=edit
Script to modify packages to be able to use with ubuntu 19.04

Initial version

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #7 from Rolf <[email protected]> ---
@Andrew, thank you for the script. I will give it a try shortly. As an aside, I noticed that someone changed the component from AMDgpu to AMDgpu-pro. I was not installing pro. Will your script work with a standard install?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #9 from Andrew Shark <[email protected]> ---
@Rolf, my script is specifically targeted at pro variant. I do not understand your desire to use amd bundled archive for All-Open stack, because All-Open is already provided by Ubuntu repos.
However, you can just remove "--pro" from the end of the script in line:
./amdgpu-install --pro --opencl=lagacy,pal --no-dkms

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Andrew Shark <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #144471|0                           |1

is obsolete| |

--- Comment #10 from Andrew Shark <[email protected]> --- Created attachment 144478
--> https://bugs.freedesktop.org/attachment.cgi?id=144478&action=edit
Script to modify packages to be able to use with ubuntu 19.04

Fixed typo lagacy -> legacy in "--opencl=legacy,pal".

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Andrew Shark <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #144478|0                           |1

is obsolete| |

--- Comment #11 from Andrew Shark <[email protected]> --- Created attachment 144479
--> https://bugs.freedesktop.org/attachment.cgi?id=144479&action=edit
Script to modify packages to be able to use with ubuntu 19.04

Added "-f" to rm command to prevent error message in output
rm: cannot remove 'amdgpu-core_19.10-785425_all.no_ub_ver_chk.deb': No such file or directory
Explicitly specified that problems appears in 19.10-785425 release, because they may be fixed by amd in further releases

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#15 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #12 from Rolf <[email protected]> ---
@Andrew, I'm transitioning from Windows to Linux for software development. Though not new to Linux, I'm new to running it with a head. Perhaps I'm trying to do something unnecessary under Ubuntu? I have an ASUS Radeon VII 16GB installed in this system. The first thing I had to do under Windows was update the driver from AMD's website. I was following suit for Linux. I don't believe I can run the Pro version on my hardware. The downloaded driver installs either. Ubuntu identifies the graphics as AMD® Vega20. Any and all advice would be most appreciated.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#16 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #13 from Alex Deucher <[email protected]> --- (In reply to Rolf from comment #12)

Quoted 5 lines

@Andrew, I'm transitioning from Windows to Linux for software development. Though not new to Linux, I'm new to running it with a head. Perhaps I'm trying to do something unnecessary under Ubuntu? I have an ASUS Radeon VII 16GB installed in this system. The first thing I had to do under Windows was update the driver from AMD's website. I was following suit for Linux.

In general, on Linux most users use the in box drivers or a ppa (if you want bleeding edge) rather than the packaged drivers. The packaged drivers from AMD are mainly there to support workstation customers or users that want to use an older enterprise distro which may not have support in the box.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#17 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #14 from Christian König <[email protected]> --- (In reply to Rolf from comment #12)

Quoted 1 line

Perhaps I'm trying to do something unnecessary under Ubuntu?

Yes, exactly that seems to be the case here.

Either the drivers coming with Ubuntu should be sufficient or you should use a PPA to get bleeding edge drivers.

As Alex already noted as well the -pro drivers are for workstation use cases where the user has a specific version of a distribution.

Marking this bug as invalid for now.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#18 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Rolf <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |WONTFIX

--- Comment #15 from Rolf <[email protected]> ---
I have a Linux workstation and it's a development workstation. Your driver page
(https://www.amd.com/en/support/graphics/amd-radeon-2nd-generation-vega/amd-radeon-2nd-generation-vega/amd-radeon-vii)
is where people go for up-to-date drivers on Windows. It clearly has a Linux sections as well, so this is very confusing. I still have no idea if I should be using the pro or normal drivers. I am very appreciative to Alex for providing a script that gives me choice on Ubuntu 19.04.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#19 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #16 from Rolf <[email protected]> ---
Btw, it would be very nice to list these PPAs on the driver page. Where are they documented? It's not like I can build the driver for myself without source.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Andre Klapper <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |INVALID

--- Comment #17 from Andre Klapper <[email protected]> --- (In reply to Rolf from comment #15)

Quoted 3 lines

Your driver page
(https://www.amd.com/en/support/graphics/amd-radeon-2nd-generation-vega/amd-
radeon-2nd-generation-vega/amd-radeon-vii)

No, as we do not run AMD.com. You are on freedesktop.org and not AMD.com. You are asking the wrong people.
https://en.wikipedia.org/wiki/Advanced_Micro_Devices
https://en.wikipedia.org/wiki/Freedesktop.org

(In reply to Rolf from comment #16)

Quoted 1 line

Btw, it would be very nice to list these PPAs on the driver page.

Feel free to talk to AMD about that. You are asking the wrong people.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#21 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #18 from Christian König <[email protected]> --- (In reply to Andre Klapper from comment #17)

Quoted 1 line

Feel free to talk to AMD about that. You are asking the wrong people.

Well no, he is asking exactly at the right location.

Take a look at the component, this bug is explicitly about the amdgpu-pro driver installation and both Alex and me are answering on this bug.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#23 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #20 from Rolf <[email protected]> ---
@Andre, thank you for the clarification. My bug may have been correctly filed, but it seems I vented my frustration with AMD in the wrong direction. I did think, and I think most people following that link would as well, that the people working the bugs in this category were AMD. For that I am sorry.

Thanks again to Alex and Andrew for your help and patience. Switching over to Linux has been quite an adventure!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#24 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Andrew Shark <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #144479|0                           |1

is obsolete| |

--- Comment #21 from Andrew Shark <[email protected]> --- Created attachment 144539
--> https://bugs.freedesktop.org/attachment.cgi?id=144539&action=edit
Script to modify packages to be able to use with ubuntu 19.04

Updated to work with version amdgpu-pro 19.20-812932 Added nuclear removing instructions amdgpu-dkms now builds successfully

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#25 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Andrew Shark <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                URL|                            |https://youtu.be/97fj4bGJxV
                   |                            |M
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#26 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #22 from Andrew Shark <[email protected]> --- Created attachment 144555
--> https://bugs.freedesktop.org/attachment.cgi?id=144555&action=edit
Script to modify packages to be able to use with ubuntu 19.04

Now script automatically installs all pro components without open components. The exceptions are: amdgpu-core, libdrm-amdgpu-amdgpu1, libdrm-amdgpu-common, libdrm2-amdgpu, libwayland-amdgpu-client0, libwayland-amdgpu-server0. Separated uninstaller commands to another file.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#27 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Andrew Shark <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #144539|0                           |1

is obsolete| |

--- Comment #23 from Andrew Shark <[email protected]> --- Created attachment 144556
--> https://bugs.freedesktop.org/attachment.cgi?id=144556&action=edit
Script to force remove all amdgpu-pro packages v01

Allows you to remove packages, even if they have broken dependencies and then cleanly remove local repository using official script.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#28 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #24 from Etienne Lorrain <[email protected]> --- The script (attached to this bug) to install latest AMD drivers on ubuntu 19.04 for a RX590 on a Ryzen threadripper works for me, but leads to a Segmentation fault at address 0x0 of /usr/lib/xorg/Xorg seen in .local/share/xorg/Xorg.0.log

Solution for me was to:
sudo mv /usr/share/X11/xorg.conf.d/10-amdgpu.conf /usr/share/X11/xorg.conf.d/10-amdgpu.conf.bak
sudo mv /usr/share/X11/xorg.conf.d/00-amdgpu.conf /usr/share/X11/xorg.conf.d/00-amdgpu.conf.bak
as proposed by axlc in https://community.amd.com/thread/227165
Then I had to reboot the PC, no more "loop login".

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#29 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #25 from Etienne Lorrain <[email protected]> --- (In reply to Etienne Lorrain from comment #24)

Quoted 5 lines

The script (attached to this bug) to install latest AMD drivers on ubuntu 19.04 for a RX590 on a Ryzen threadripper works for me, but leads to a Segmentation fault at address 0x0 of /usr/lib/xorg/Xorg seen in .local/share/xorg/Xorg.0.log

Quoted 7 lines

Solution for me was to:
sudo mv /usr/share/X11/xorg.conf.d/10-amdgpu.conf /usr/share/X11/xorg.conf.d/10-amdgpu.conf.bak
sudo mv /usr/share/X11/xorg.conf.d/00-amdgpu.conf /usr/share/X11/xorg.conf.d/00-amdgpu.conf.bak
as proposed by axlc in https://community.amd.com/thread/227165
Then I had to reboot the PC, no more "loop login".

A shorter solution is to comment out (by adding # as first char) the line:
ModulePath "/opt/amdgpu/lib/xorg/modules"
in 00-amdgpu.conf and rename both files as their original names.

Maybe to use /usr/lib/xorg/modules/libglamoregl.so instead of /opt/amdgpu/lib/xorg/modules/libglamoregl.so, different files with same names. Or to use /usr/lib/xorg/modules/drivers/amdgpu_drv.so instead of /opt/amdgpu/lib/xorg/modules/drivers/amdgpu_drv.so, different files with same names.
There is only two real files in /opt/amdgpu/lib/xorg/modules/.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#30 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Felipe Marschall <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|INVALID                     |WORKSFORME
             Status|RESOLVED                    |VERIFIED

--- Comment #26 from Felipe Marschall <[email protected]> --- (In reply to Rolf from comment #3)

Quoted 6 lines

If anyone else finds themselves in this fix by installing this driver, the only way to get apt-get working again is to forcefully remove all of the files using:

sudo dpkg --force-all -P [package name]

Quoted 8 lines

Here is the list of miss-installed packages:

The following packages have unmet dependencies:
amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed amdgpu-lib : Depends: amdgpu-core (= 19.10-785425) but it is not going to
be installed
...

It happened to me now...
I managed to fix it by booting into recovery, enabling network and then running:

dpkg --remove --force-remove-reinstreq amdgpu amdgpu-core amdgpu-dkms amdgpu-lib glamor-amdgpu gst-omx-amdgpu libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common libdrm2-amdgpu libegl1-amdgpu-mesa libegl1-amdgpu-mesa-drivers libgbm1-amdgpu libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-glx libglapi-amdgpu-mesa libgles1-amdgpu-mesa libgles2-amdgpu-mesa libllvm7.1-amdgpu libomxil-bellagio-bin libomxil-bellagio0 libosmesa6-amdgpu libwayland-amdgpu-client0 libwayland-amdgpu-egl1 libwayland-amdgpu-server0 libxatracker2-amdgpu mesa-amdgpu-omx-drivers mesa-amdgpu-va-drivers mesa-amdgpu-vdpau-drivers xserver-xorg-amdgpu-video-amdgpu

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#32 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #28 from Sebastian <[email protected]> ---
There is a new Version of the Radeon Software (ver 19.30 from Aug 12.)
https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux
Does the script work for the new version?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#33 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Andrew Shark <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #144555|0                           |1

is obsolete| |

--- Comment #29 from Andrew Shark <[email protected]> --- Created attachment 145087
--> https://bugs.freedesktop.org/attachment.cgi?id=145087&action=edit
Script to modify packages to be able to use with ubuntu 19.04

Updated script to work with Ubuntu 19.04 and driver version 19.30-855429 Set status to REOPENED, because the problem is still actual.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#34 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Andrew Shark <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|WORKSFORME                  |---
             Status|VERIFIED                    |REOPENED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#35 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #30 from Etienne Lorrain <[email protected]> --- (In reply to Andrew Shark from comment #29)

Quoted 5 lines

Created attachment 145087 [details] [review]
Script to modify packages to be able to use with ubuntu 19.04

Updated script to work with Ubuntu 19.04 and driver version 19.30-855429 Set status to REOPENED, because the problem is still actual.

Is it not fixed for you by (as my previous comment):
A shorter solution is to comment out (by adding # as first char) the line:
ModulePath "/opt/amdgpu/lib/xorg/modules"
in 00-amdgpu.conf

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#36 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #31 from Andrew Shark <[email protected]> ---
(In reply to Etienne Lorrain from comment #30)
I do not understand what problem you are talking about. Package just refuses to install because of explicitly doing so in preinst script. My script solves it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#37 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #32 from Tomas <[email protected]> --- Hi,

I have applied the patch to drivers amdgpu-pro-19.30-855429-ubuntu-18.04, and something is wrong. The process doesn't find as seems some components? See output i got on the cli. Have I overlooked something?

$ ./install-amdgpu-pro-19.30-855429-on-ubuntu19.04-v06.sh 
dpkg-deb: building package 'amdgpu-core' in
'amdgpu-core_19.30-855429_all.no_ub_ver_chk.deb'.
dpkg-deb: building package 'amdgpu-pro-hwe' in
'amdgpu-pro-hwe_19.30-855429_amd64.no_ag-hwe_dep.deb'.
dpkg-deb: building package 'amdgpu-pro-lib32' in
'amdgpu-pro-lib32_19.30-855429_amd64.no_ag-hwe_and_ag-lib32_dep.deb'.
Creating local repository...
Installing OpenGL PRO...
[sudo] password for user: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package amdgpu-pro-hwe
E: Unable to locate package amdgpu-pro-lib32
Installing OpenCL PRO...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package clinfo-amdgpu-pro
E: Unable to locate package opencl-orca-amdgpu-pro-icd
E: Unable to locate package opencl-orca-amdgpu-pro-icd:i386
E: Unable to locate package opencl-amdgpu-pro-icd
Installing Vulkan PRO...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vulkan-amdgpu-pro
E: Unable to locate package vulkan-amdgpu-pro:i386
All done, enjoy!
This script was prepared for you by Andrew Shark, the author of LinuxComp
Tutorial youtube channel. If you liked it, please let me know =)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#38 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #33 from Tomas <[email protected]> ---
System is Ubuntu 19.04, 5.0.0-25-generic #26-Ubuntu SMP Thu Aug 1 12:04:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#39 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #34 from Andrew Shark <[email protected]> --- @Tomas, it is strange that it did not asked a password after "Creating local repository..." which is before "Installing OpenGL PRO...". Probably you already had a previous version of repository (it happens if you try to install it with official installer script first).
Try to force remove it (script provided as another attachment) and then re-run my installer script.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#40 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #35 from Etienne Lorrain <[email protected]> --- (In reply to Andrew Shark from comment #31)

Quoted 4 lines

(In reply to Etienne Lorrain from comment #30)
I do not understand what problem you are talking about. Package just refuses to install because of explicitly doing so in preinst script. My script solves it.

Sorry, it is some time ago and now that my system is working I am reluctant to break it again to see if I can re-install again.
I use your script to install on 19.4, I just had:

Quoted 3 lines

but leads to a
Segmentation fault at address 0x0 of /usr/lib/xorg/Xorg seen in .local/share/xorg/Xorg.0.log

That I fixed by commenting out the line:
ModulePath "/opt/amdgpu/lib/xorg/modules"
in 00-amdgpu.conf

I am not sure why I cannot use files in "/opt/amdgpu/lib/xorg/modules", I have to use the files in "/usr/lib/xorg/modules/" (same filenames, different files)...

Cheers.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#41 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #36 from Tomas <[email protected]> ---
@Andrew Shark: well, it asked me once for the users password for sudo, which I successfully input and worked. "[sudo] password for user: ".
I have as well tried your removal script, however after running it with sudo and without, I got no output on CLI of it, is that ok?
After that tried the installer with script, and unchanged behaviour.

If there is any outut to be run, if you send me commands, happy to run.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#42 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #37 from Alain Roger <[email protected]> ---
Hi I'm under KUbuntu 19.04 (KDE as environment) x64 and with AMD R7-560 using kernal 5.x (but also v4.9.x).

When i run the script for ubuntu 19.04, i got the following things:

dpkg-deb: building package 'amdgpu-core' in 'amdgpu-core_19.30-855429_all.no_ub_ver_chk.deb'.
dpkg-deb: building package 'amdgpu-pro-hwe' in 'amdgpu-pro-hwe_19.30-855429_amd64.no_ag-hwe_dep.deb'.
dpkg-deb: building package 'amdgpu-pro-lib32' in 'amdgpu-pro-lib32_19.30-855429_amd64.no_ag-hwe_and_ag-lib32_dep.deb'. Creating local repository...
Installing OpenGL PRO...
Reading package lists... Done
Building dependency tree
Reading state information... Done
amdgpu-pro-hwe is already the newest version (19.30-855429). amdgpu-pro-lib32 is already the newest version (19.30-855429). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used. Setting up amdgpu-dkms (19.30-855429) ...
Removing old amdgpu-19.30-855429 DKMS files...

------------------------------
Deleting module version: 19.30-855429
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-19.30-855429 DKMS files...
Building for 5.3.7-050307-generic
Building for architecture x86_64
Building initial module for 5.3.7-050307-generic
ERROR (dkms apport): kernel package linux-headers-5.3.7-050307-generic is not supported
Error! Bad return status for module build on kernel: 5.3.7-050307-generic (x86_64)
Consult /var/lib/dkms/amdgpu/19.30-855429/build/make.log for more information.
dpkg: error processing package amdgpu-dkms (--configure):
installed amdgpu-dkms package post-installation script subprocess returned
error exit status 10
dpkg: dependency problems prevent configuration of amdgpu-hwe:
amdgpu-hwe depends on amdgpu-dkms (= 19.30-855429); however:
Package amdgpu-dkms is not configured yet.

dpkg: error processing package amdgpu-hwe (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-hwe:
amdgpu-pro-hwe depends on amdgpu-hwe (= 19.30-855429); however:
Package amdgpu-hwe is not configured yet.

dpkg: error processing package amdgpu-pro-hwe (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-lib32:
amdgpu-pro-lib32 depends on amdgpu-pro (= 19.30-855429) | amdgpu-pro-hwe (=
19.30-855429); however:
Package amdgpu-pro is not installed.
Package amdgpu-pro-hwe is not configured yet.

dpkg: error processing package amdgpu-pro-lib32 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.

No apport report written because the error message
indicates its a followup error from a previous failure.
No apport report written because MaxReports is
reached already

Errors were encountered while processing:
amdgpu-dkms
amdgpu-hwe
amdgpu-pro-hwe
amdgpu-pro-lib32
E: Sub-process /usr/bin/dpkg returned an error code (1) Installing OpenCL PRO...
Reading package lists... Done
Building dependency tree
Reading state information... Done
clinfo-amdgpu-pro is already the newest version (19.30-855429). opencl-amdgpu-pro-icd is already the newest version (19.30-855429). opencl-orca-amdgpu-pro-icd:i386 is already the newest version (19.30-855429). opencl-orca-amdgpu-pro-icd is already the newest version (19.30-855429). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used. Setting up amdgpu-dkms (19.30-855429) ...
Removing old amdgpu-19.30-855429 DKMS files...

------------------------------
Deleting module version: 19.30-855429
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-19.30-855429 DKMS files...
Building for 5.3.7-050307-generic
Building for architecture x86_64
Building initial module for 5.3.7-050307-generic
ERROR (dkms apport): kernel package linux-headers-5.3.7-050307-generic is not supported
Error! Bad return status for module build on kernel: 5.3.7-050307-generic (x86_64)
Consult /var/lib/dkms/amdgpu/19.30-855429/build/make.log for more information.
dpkg: error processing package amdgpu-dkms (--configure):
installed amdgpu-dkms package post-installation script subprocess returned
error exit status 10
No apport report written because the error message indicates its a followup error from a previous failure.

dpkg: dependency problems prevent configuration of
amdgpu-hwe:
amdgpu-hwe depends on amdgpu-dkms (= 19.30-855429); however:
Package amdgpu-dkms is not configured yet.

dpkg: error processing package amdgpu-hwe (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-hwe:
amdgpu-pro-hwe depends on amdgpu-hwe (= 19.30-855429); however:
Package amdgpu-hwe is not configured yet.

dpkg: error processing package amdgpu-pro-hwe (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-lib32:
amdgpu-pro-lib32 depends on amdgpu-pro (= 19.30-855429) | amdgpu-pro-hwe (=
19.30-855429); however:
Package amdgpu-pro is not installed.
Package amdgpu-pro-hwe is not configured yet.

dpkg: error processing package amdgpu-pro-lib32 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.

No apport report written because MaxReports is
reached already

Errors were encountered while processing:
amdgpu-dkms
amdgpu-hwe
amdgpu-pro-hwe
amdgpu-pro-lib32
E: Sub-process /usr/bin/dpkg returned an error code (1) Installing Vulkan PRO...
Reading package lists... Done
Building dependency tree
Reading state information... Done
vulkan-amdgpu-pro is already the newest version (19.30-855429). vulkan-amdgpu-pro:i386 is already the newest version (19.30-855429). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used. Setting up amdgpu-dkms (19.30-855429) ...
Removing old amdgpu-19.30-855429 DKMS files...

------------------------------
Deleting module version: 19.30-855429
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-19.30-855429 DKMS files...
Building for 5.3.7-050307-generic
Building for architecture x86_64
Building initial module for 5.3.7-050307-generic
ERROR (dkms apport): kernel package linux-headers-5.3.7-050307-generic is not supported
Error! Bad return status for module build on kernel: 5.3.7-050307-generic (x86_64)
Consult /var/lib/dkms/amdgpu/19.30-855429/build/make.log for more information.
dpkg: error processing package amdgpu-dkms (--configure):
installed amdgpu-dkms package post-installation script subprocess returned
error exit status 10
dpkg: dependency problems prevent configuration of amdgpu-hwe:
amdgpu-hwe depends on amdgpu-dkms (= 19.30-855429); however:
Package amdgpu-dkms is not configured yet.

dpkg: error processing package amdgpu-hwe (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-hwe:
amdgpu-pro-hwe depends on amdgpu-hwe (= 19.30-855429); however:
Package amdgpu-hwe is not configured yet.

dpkg: error processing package amdgpu-pro-hwe (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-lib32:
amdgpu-pro-lib32 depends on amdgpu-pro (= 19.30-855429) | amdgpu-pro-hwe (=
19.30-855429); however:
Package amdgpu-pro is not installed.
Package amdgpu-pro-hwe is not configured yet.

dpkg: error processing package amdgpu-pro-lib32 (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.

No apport report written because the error message
indicates its a followup error from a previous failure.
No apport report written because MaxReports is
reached already

Errors were encountered while processing:
amdgpu-dkms
amdgpu-hwe
amdgpu-pro-hwe
amdgpu-pro-lib32
E: Sub-process /usr/bin/dpkg returned an error code (1)
All done, enjoy!
This script was prepared for you by Andrew Shark, the author of LinuxComp Tutorial youtube channel. If you liked it, please let me know =)

Since, computer is very slow to display browser HTML5 games as also to run Resolve 16.

I need to have AMD drivers working as i need to use Resolve (as alternative to After Effect under linux). On my laptop i have NVidia with a 7 years old graphic card and Resolve works, so it's clearly an AMD driver issue. That's why your work and help is very useful for all AMD users :D

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#43 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #38 from Utku Helvacı (tuxutku) <[email protected]> --- I made a script to only install opencl:
https://gist.github.com/tuxutku/79daa2edca131c1525a136b650cdbe0a

its basically re-implementation of opencl-amd AUR package for ubuntu

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#44 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |MOVED

--- Comment #39 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/26.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#45 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=110795

--- Comment #40 from [email protected] ---
CRITICAL ERROR:

Loading new amdgpu-19.30-934563 DKMS files...
Building for 5.3.0-20-generic
Building for architecture x86_64
Building initial module for 5.3.0-20-generic
ERROR (dkms apport): kernel package linux-headers-5.3.0-20-generic is not supported
Error! Bad return status for module build on kernel: 5.3.0-20-generic (x86_64)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel